Skip to content

Conversation

@bryanlundberg
Copy link
Member

db.getStructuredCollections Retrieves all collections in the database as a structured object. Each key in the returned object represents a collection name, and the value is an array of documents within that collection.

Add a unit test to verify that getStructuredCollections correctly returns structured collections. This ensures proper functionality and coverage for this method.
Introduce `getStructuredCollections` method to fetch all collections and their documents as a structured object. This enhancement improves database querying by providing a comprehensive overview of stored data.
@netlify
Copy link

netlify bot commented May 12, 2025

Deploy Preview for narodb ready!

Name Link
🔨 Latest commit 3aff3f1
🔍 Latest deploy log https://app.netlify.com/sites/narodb/deploys/682170ec8e2bed0008528011
😎 Deploy Preview https://deploy-preview-8--narodb.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@bryanlundberg bryanlundberg merged commit ef391c9 into main May 12, 2025
6 checks passed
@bryanlundberg bryanlundberg deleted the get-collections-data branch May 12, 2025 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants